projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b25c4e2
)
(gdb-info-stack-custom): Apply
author
Nick Roberts
<nickrob@snap.net.nz>
Fri, 29 Feb 2008 00:47:13 +0000
(
00:47
+0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Fri, 29 Feb 2008 00:47:13 +0000
(
00:47
+0000)
function-name-face correctly when user has
"set print address off".
lisp/progmodes/gdb-ui.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/gdb-ui.el
b/lisp/progmodes/gdb-ui.el
index b701b472ce9e872a73ba8831e01e41adbc8b14bf..111f8903fd3ac54e76174d1c6a0ca0e092031a2d 100644
(file)
--- a/
lisp/progmodes/gdb-ui.el
+++ b/
lisp/progmodes/gdb-ui.el
@@
-2202,10
+2202,7
@@
static char *magick[] = {
(put-text-property bl (+ bl 4)
'face '(:inverse-video t))
(setq move-to bl)))
- (when (re-search-forward
- (concat
- (if (string-equal (match-string 1) "0") "" " in ")
- "\\([^ ]+\\) (") el t)
+ (when (re-search-forward "\\([^ ]+\\) (" el t)
(put-text-property (match-beginning 1) (match-end 1)
'face font-lock-function-name-face)
(setq bl (match-end 0))